package com.example.certificate.mapper;

import com.example.certificate.dto.InsertRegisterDto;
import com.example.certificate.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.certificate.utils.ResultEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户登陆信息数据表 Mapper 接口
 * </p>
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 更新用户登录密码
     * @param phone
     * @param pass
     */
    void updatePass(@Param("phone") String phone, @Param("pass") String pass);
}
